iterate
fun <C : Any> iterate(t: ValidationResult.ErrorEntry.Type<C>): Iterable<ValidationResult.ErrorEntry.Entry<C>>
Provides an iterable containing any applicable ErrorEntry.Entry of the provided type
NOTE: this performs actions on Entry, not ErrorEntry. Entry is a container stored within most error entries containing content information only.
Return
Iterable with all applicable entries. May be empty.
Author
fzzyhmstrs
Since
0.7.0
Parameters
C
error content type
t
ErrorEntry.Type<C> the error type. If you don't need a particular type (to report errors for example), use the other overload
Iterates over all ErrorEntry.Entry contained in this result
NOTE: this performs actions on Entry, not ErrorEntry. Entry is a container stored within most error entries containing content information only.
Return
Iterable containing all entries in this result. May be empty.
Author
fzzyhmstrs
Since
0.7.0